Seal GtkTearoffMenuItem.
authorTim Janik <timj@src.gnome.org>
Fri, 20 Jun 2008 11:09:08 +0000 (11:09 +0000)
committerTim Janik <timj@src.gnome.org>
Fri, 20 Jun 2008 11:09:08 +0000 (11:09 +0000)
(the torn_off field is for internal state keeping, you can retrieve
the value from the parent menu's tearoff_state).

svn path=/trunk/; revision=20614

gtk/gtktearoffmenuitem.h

index 30fcc958083ec838f2951dbe901cb82ad88ee616..7d1e88c027a04c5370cc0b1d90ea8406c703694d 100644 (file)
@@ -52,7 +52,7 @@ struct _GtkTearoffMenuItem
 {
   GtkMenuItem menu_item;
 
-  guint torn_off : 1;
+  guint GSEAL (torn_off : 1);
 };
 
 struct _GtkTearoffMenuItemClass